<!DOCTYPE html>
<html lang="en">

	<head>
		<!-- BEGIN META -->
		<?php $this->load->view('Public/headmeta.html');?>
		<!-- END META -->

		<!-- BEGIN STYLESHEET-->
		<?php $this->load->view('Public/headcss.html');?>
		<!-- END STYLESHEET-->
		<title>
			<?php echo $current['title']."-".$setting['title'];?>
		</title>

	</head>

	<body>
		<!-- BEGIN SECTION -->
		<section id="container">
			<!-- BEGIN HEADER -->
			<?php $this->load->view('Public/header.html');?>
			<!-- END HEADER -->
			<!-- BEGIN SIDEBAR -->
			<?php $this->load->view('Public/sidebar.html');?>
			<!-- END SIDEBAR -->
			<!-- BEGIN MAIN CONTENT -->
			<section id="main-content">
				<!-- BEGIN WRAPPER  -->
				<section class="wrapper">
					<!-- TOPMENU ROW  -->
					<?php $this->load->view('Public/topmenu.html');?>
					<!-- TOPMENU ROW  -->

					<!-- BEGIN ROW  -->
					<div class="row">
						<div class="col-lg-12">
							<section class="panel">
								<header class="panel-heading">
									<span class="label label-primary"><?php echo $current['title'];?></span>
									<span class="tools pull-right"></span>
								</header>
								<div class="panel-body">
									<div class="form">
										<form class="cmxform form-horizontal tasi-form" id="settingForm" method="post" action="<?php echo site_url('Pkadmin/Setting/setting');?>" enctype="multipart/form-data">
											
											<div class="form-group">
												<label for="title" class="control-label col-lg-2">网站标题</label>
												<div class="col-lg-3">
													<input class="form-control bg-white" id="title" name="title" type="text" value="<?php echo $setting['title'];?>">
												</div>
												<label class="control-label col-lg-4 color-red t-left">网站标题，前台调用：echo $setting['title'];</label>
											</div>
											
											<div class="form-group">
												<label for="sitename" class="control-label col-lg-2">网站SEO标题</label>
												<div class="col-lg-3">
													<input class="form-control" id="sitename" name="sitename" type="text" value="<?php echo $setting['sitename'];?>">
												</div>
												<label class="control-label col-lg-4 color-red t-left">网站标题，前台调用：echo $setting['sitename'];</label>
											</div>
											
											<div class="form-group">
												<label for="keywords" class="control-label col-lg-2">网站关键词</label>
												<div class="col-lg-3">
													<input class="form-control" id="keywords" name="keywords" type="text" value="<?php echo $setting['keywords'];?>">
												</div>
												<label class="control-label col-lg-4 color-red t-left">关键词，前台调用：echo $setting['keywords'];</label>
											</div>
											
											<div class="form-group">
												<label for="footer" class="control-label col-lg-2">底部版权</label>
												<div class="col-lg-3">
													<input class="form-control" id="footer" name="footer" type="text" value="<?php echo $setting['footer'];?>">
												</div>
												<label class="control-label col-lg-4 color-red t-left">网站标题，前台调用：echo $setting['footer'];</label>
											</div>
											
											<div class="form-group">
												<label for="description" class="control-label col-lg-2">网站描述</label>
												<div class="col-lg-3">								
													<textarea class="form-control h-120" id="description" name="description"><?php echo $setting['description'];?></textarea>
												</div>
												<label class="control-label col-lg-4 color-red t-left">网站描述，前台调用：echo $setting['description'];</label>
											</div>

											<div class="form-group">
												<div class="col-lg-offset-2 col-lg-10">
													<button class="btn btn-primary" type="submit">保存</button>
													<button class="btn btn-default" type="reset">重置</button>
												</div>
											</div>
										</form>
									</div>
								</div>
							</section>
						</div>
					</div>
					<!-- END ROW  -->
				</section>
				<!-- END WRAPPER  -->
			</section>
			<!-- END MAIN CONTENT -->
			<!-- BEGIN FOOTER -->
			<?php $this->load->view('Public/footer.html');?>
			<!-- END FOOTER -->
		</section>
		<!-- END SECTION -->
		<!-- BEGIN JS -->
		<?php $this->load->view('Public/footjs.html');?>
		<script src="<?php echo base_url('Public/js/pkadmin/setting.js');?>"></script>
		<!-- PKADMIN SETTING JS -->
		<!-- END JS -->
	</body>

</html>